package org.scirp.ijmis.client.service;

import java.util.List;
import javax.jws.WebService;

import org.scirp.ijmis.client.dto.PaperDTO;
import org.scirp.ijmis.client.dto.PersonDTO;

@WebService
public interface IOAPersonService {
	public List<PersonDTO> selectAll();

	public PersonDTO selectById(long pid);

	// public List<PersonDTO> selectPersonByKeyWord(List<String> list,int count)
	// ;
	public List<PaperDTO> selectPaperByKeyWord(List<String> list, int count);

	// public List<PaperDTO> selectPaperByKeyWordAndEmail(List<String>
	// list,String email,int count);

	public List<PersonDTO> selectPersonByKeyWord(List<String> keyWord, String paperTitle, String journalName, int count);
	public boolean saveEmail(String oldEmail,String newEmail,String person,String remark);
	public List<PaperDTO> selectPaperByKeyWordAndEmail(List<String> keywordList, String email, String paperTitle, String journalName, int count);
}
